package com.hhss.qishi.entity.system;

import com.hhss.qishi.config.annotation.ChineseName;
import com.hhss.qishi.entity.common.PagePojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 角色关联菜单操作表
 * @Author :Administrator
 * @Description
 * @Date :2019-05-05 14:18.
 */
@Table(name = "sys_menu_opt_role")
public class MenuOptRole extends PagePojo implements Serializable {

	@Id
	@Column(name = "id", updatable = false)
	@ChineseName("主键")
	private Integer id;

	@Column(name = "menu_opt_id")
	private Integer menuOptId;

	@Column(name = "role_id")
	private Integer roleId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMenuOptId() {
		return menuOptId;
	}

	public void setMenuOptId(Integer menuOptId) {
		this.menuOptId = menuOptId;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

}
